#include "e2d/imgui/render/Editor.h"
#include "e2d/core/render/components.h"
#include "sysx/System.h"

using Editor = e2d::BasicEditor;

template<>
bool Editor::Edit<e2d::LightSource>(const std::string& l, e2d::LightSource& e)
{
	int index = 4;
	if (TreeNode("effect data", e.m_ImguiFlag, index++))
	{
		EditInst<e2d::LightData::EffectData>("m_EffectData", e.m_EffectData);
		TreePop();
	}

	return false;
}